public class Button extends Component{
    @Override
    public void changed() {
        System.out.println("Button改变");
        mediator.componentChanged(this);
    }

    @Override
    public void update() {
        System.out.println("Button已更新");
    }
}
